package com.beyondsoft.mcms.common;

import java.util.Locale;

import org.springframework.context.support.AbstractApplicationContext;

public class I18NUtils {


	private I18NUtils() {
	}
	public static String getMessage(String code, Object... args) {
		return ApplicationContextUtils.getApplicationContext().getMessage(code, args, Locale.getDefault());
	}


}
